package org.example.test.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author jzq
 * @date 2022/8/17 15:46
 */
@SuppressWarnings({"all"})
@Data
public class City implements Serializable {

    private Integer cityId;

    private String cityName;

    private String localCityName;

    private Integer countryId;

    private String district;

    private Integer population;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date dateModified;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date dateCreated;

}
